/**
 * Created by zhong on 2018/1/24.
 */
import mongoose from 'mongoose';
const UserSchema = new mongoose.Schema({ //定义数据模型
  name: String,
  pwd: String,
  phone: String,
  email: String,
  role:{type: Number, default: 0},
  headImg: String,
  platform: Number,
  uniId: String,
  userString: String,
  token: String
})
const Users = mongoose.model('Users', UserSchema,'Users');
export default Users
